<%@ page trimDirectiveWhitespaces="true" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ page pageEncoding="utf-8"%>
<div>
	<b>热点</b>
</div>
<div name="redian">
	<c:forEach var="cont" items="${redianList}">
		<li>
		<c:choose>
			<c:when test="${cont.type==1}">
				<c:if test="${cont.news.status==1}">
					<c:choose>
						<c:when test="${cont.imgshow}">
							<a <c:if test="${!empty cont.css}">style="${cont.css}"</c:if> href="view.html?id=${cont.news.id}&f=ucjs">
								<img src="http://wapimg1.huanqiu.com${cont.path}" alt=""/>
							</a>
						</c:when>
						<c:otherwise>
							<a <c:if test="${!empty cont.css}">style="${cont.css}"</c:if> href="view.html?id=${cont.news.id}&f=ucjs">${empty (cont.pushword)?(cont.news.shortTitle):(cont.pushword)}</a>
						</c:otherwise>
					</c:choose>
				</c:if>
			</c:when>
			<c:when test="${cont.type==2}">
				
			</c:when>
			<c:when test="${cont.type==3}">
				<c:choose>
					<c:when test="${cont.imgshow}">
						<a <c:if test="${!empty cont.css}">style="${cont.css}"</c:if> href="ztview.html?id=${cont.zhuanti.id}&f=ucjs">
							<img src="http://wapimg1.huanqiu.com${cont.path}" alt=""/>
						</a>
					</c:when>
					<c:otherwise>
						<a <c:if test="${!empty cont.css}">style="${cont.css}"</c:if> href="ztview.html?id=${cont.zhuanti.id}&f=ucjs">${empty (cont.pushword)?(cont.zhuanti.name):(cont.pushword)}</a>
					</c:otherwise>
				</c:choose>
			</c:when>
		</c:choose>
		</li>
	</c:forEach>
</div>
<div>
<b>滚动</b>
</div>
<div name="gundong">
	<c:forEach var="news" items="${gundongList}">
		<li>
			<a href="view.html?id=${news.id}&f=ucjs">${news.shortTitle}</a>
		</li>
	</c:forEach>
</div>
<div>
   <b>国内</b>
</div>
<div name="guonei">
	<c:forEach var="news" items="${guoneiList}">
		<li>
			<a href="view.html?id=${news.id}&f=ucjs">${news.shortTitle}</a>
		</li>
	</c:forEach>
</div>
<div>
   <b>国际</b>
</div>
<div name="guoji">
	<c:forEach var="news" items="${guojiList}">
		<li>
			<a href="view.html?id=${news.id}&f=ucjs">${news.shortTitle}</a>
		</li>
	</c:forEach>
</div>
